package com.itheima.service;

import com.itheima.domain.LinkMan;

import java.util.List;

/**
 * ClassName:LinkManService
 * Package:com.itheima.service
 * Description:
 * Date:2020/3/1921:10
 * User: snow
 */

public interface LinkManService {
	public List<LinkMan> findAll() throws Exception;
//分页查询（查找所有）
	public List<LinkMan> findAll(int page, int size) throws Exception;

	public void save(LinkMan linkMan) throws Exception;

	public void delete(String id) throws Exception;
//模糊查询（分页）
	public List<LinkMan> findSome(String linkmanName, String linkmanGender,int page,int size) throws Exception;

	public LinkMan findById(String id) throws Exception;

	public void update(LinkMan linkMan) throws Exception;

	public List<LinkMan> findLinkManByCustomerId(String id) throws Exception;
}
